package com.easymin.weixin.service;

import com.easymin.weixin.entity.Application;
import com.easymin.weixin.entity.ApplicationCriteria;

public interface ApplicationService extends BaseService<Application, ApplicationCriteria, Long> {
  /**
   * 根据名称判断应用是否存在.
   */
  boolean exists(String name);

  /**
   * 根据AppId查询Application.
   */
  Application fetchByAppId(String appId);
}
